{{extend 'layout.html'}}

{{ block aside }}
	{{ if featured_plugin: }}
	<aside id="featured" class="body"><article>
		<figure>
			<img width="150px" height="120px" src="{{=URL('download', args=featured_plugin.screenshot)}}" 
				 alt="Featured Plugin Logo - {{=featured_plugin.name}}">
		</figure>
		<hgroup>
			<h2>Featured Plugin</h2>
			<h3><a href="{{=URL('default', 'plugin', args=featured_plugin.name)}}">{{=featured_plugin.name}}</a></h3>
		</hgroup>
		<p>{{=featured_plugin.short_description}}</p>
	</article></aside><!-- /#featured -->
	{{ pass }}
{{ end }}

{{ block content }}
	{{ if plugins: }}
		{{plugin_list(plugins)}}
	{{ else: }}
		<h2>No plugins here!</h2>
	{{ pass }}
{{ end }}